//
//  APIUrl.swift
//  拾舍清洁
//
//  Created by sky.wei on 2023/2/12.
//

import UIKit


let baseUrl: String        = "https://api.tenhousecleaning.com"
//let baseUrl: String        = "http://47.108.193.146:8090"//

class APIUrl: NSObject {
               
    
    let sendMsg_URL = baseUrl + "/login/sendMsg"         //手机验证码
    let login_URL = baseUrl + "/login/userLogin"         //手机登录
    let refreshToken_URL = baseUrl + "/login/refreshToken"      //刷新token
    let userLogOff_URL = baseUrl + "/user/userLogOff"         //用户注销
    let addCoupon_URL = baseUrl + "/home/addCoupon"         //领取优惠券
    let getCouponItem_URL = baseUrl + "/home/getCouponItem"         //获取优惠券类别
    let getItemAndCombo_URL = baseUrl + "/home/getItemAndCombo"         //首页获取项目套餐
    let getItem_URL = baseUrl + "/home/getItem"         //首页获取小项目
    let getItemDetail_URL = baseUrl + "/home/getItemDetail"         //获取项目详情
    let getItemSpecs_URL = baseUrl + "/home/getItemSpecs"         //获取项目规格
    let getUserCoupon_URL = baseUrl + "/user/getUserCoupon"         //获取用户优惠券
    let updateUserAddress_URL = baseUrl + "/user/updateUserAddress"         //更新用户地址
    let getCoopTag_URL = baseUrl + "/user/getCoopTag"         //获取合作标签
    let addCooperation_URL = baseUrl + "/user/addCooperation"         //上传合作信息
    let getUserAddress_URL = baseUrl + "/user/getUserAddress"         //获取用户地址
    let getUser_URL = baseUrl + "/user/getUser"         //获取用户信息
    let modifyEmail_URL = baseUrl + "/user/modifyEmail"         //修改用户邮箱
    let userOrder_URL = baseUrl + "/order/userOrder"         //    用户下单
    let getOrder_URL = baseUrl + "/order/getOrder"         //   获取用户订单列表
    let getDetail_URL = baseUrl + "/order/getDetail"         //   获取用户订单明细
    let getVxImg_URL = baseUrl + "/order/getVxImg"         //   获取微信二维码
    let userRedeem = baseUrl + "/user/userRedeem"         //   兑换优惠码
    
    let getShiftsNum = baseUrl + "/order/getShiftsNum"         //   获取排班人数
    let userOrderNew = baseUrl + "/order/userOrderNew"         //   用户下单新接口
    let getAppVersion = baseUrl + "/sys/getAppVersion"         //   获取app版本数据
    
    let getEMPCleanShift_URL = baseUrl + "/employee/getEMPCleanShift"         //   获取员工半个月的席位
    let seatCommit_URL = baseUrl + "/employee/seatCommit"         //   提交员工席位
    
    
    
    
    
    let getOrderLimit_URL = baseUrl + "/order/getOrderLimit"         //获取订单限制信息
    
    
    
    
    let getItemCombo_URL = baseUrl + "/home/getItemCombo"         //获取项目套餐
    
    
    /**---------------日式清洁---------------*/
    
    let getDayItem_URL = baseUrl + "/home/getDayItem"         //获取日式清洁列表
    let getDayItemDetail_URL = baseUrl + "/home/getDayItemDetail"         //获取日式清洁详情
    

    let getEMPWork_URL = baseUrl + "/employee/getEMPWork"         //获取员工工作内容
    let getEmployeeOrder_URL = baseUrl + "/employee/getEmployeeOrder"         //获取员工订单
    let getOrderIncome_URL = baseUrl + "/employee/getOrderIncome"         //获取订单收入列表
    
    
    let getEMPIncome_URL = baseUrl + "/employee/getEMPIncome"         //获取员工收入
    
    
    
    let empUploadImg_URL = baseUrl + "/employee/empUploadImg"         //员工保洁图片上传
    let empCLockIn_URL = baseUrl + "/employee/empCLockIn"         //员工保洁打卡
    
    let getEMPCleanTask_URL = baseUrl + "/employee/getEMPCleanTask"         //获取员工半个月的保洁
    
    let workCommit_URL = baseUrl + "/employee/workCommit"         //提交工作内容
    
    
    
    
    static let share : APIUrl = {
        let tools = APIUrl()
        return tools
    }()
}


